#ifndef __SORT_H_
#define __SORT_H_
#include <stdio.h>
#include <stdlib.h>
#define ERROR_CHECK(ret, num, msg) \
    {                              \
        if (ret == num)            \
        {                          \
            perror(msg);           \
            exit(1);               \
        }                          \
    }

void bubbleSort(int *data,int len);
void chooseSort(int *data,int len);
void showArry(int *data,int len);
void insertSort1(int *data,int len);
void insertSort2(int *data,int len);
void quickSort(int arr[], int low, int high) ;
/**
 * @brief 
 * 
 * @param data 
 * @param val 
 * @return int  index
 */
int searchVal(int *data, int val, int low,int high);
#endif
